import request from "@/utils/request";

// 查询对账详情列表
export function listBizBillInfoDetails(query){
  return request({
    url: "/biz/bizBillInfoDetails/list",
    method: "get",
    params: query
  })
}

// 查询对账详情详细
export function getBizBillInfoDetails(id){
  return request({
    url: "/biz/bizBillInfoDetails/" + id,
    method: "get"
  })
}

// 新增对账详情
export function addBizBillInfoDetails(data){
  return request({
    url: "/biz/bizBillInfoDetails",
    method: "post",
    data: data
  })
}

// 修改对账详情
export function updateBizBillInfoDetails(data){
  return request({
    url: "/biz/bizBillInfoDetails",
    method: "put",
    data: data
  })
}

// 删除对账详情
export function delBizBillInfoDetails(id){
  return request({
    url: "/biz/bizBillInfoDetails/" + id,
    method: "delete"
  })
}

// 查询最大编号
export function findMaxSort(){
  return request({
    url: "/biz/bizBillInfoDetails/findMaxSort",
    method: "get"
  })
}
// 导出对账详情
export function exportBizBillInfoDetails (query){
  return request({
    url: "/biz/bizBillInfoDetails/export",
    method: "get",
    params: query
  })
}
